package top.bug.blog.constant;

/**
 * @author <a href="https://github.com/jiusi66">九思.</a>
 * @email 10837907@qq.com
 * @from <a href="https://www.52bug.top">递归茶馆-www.52bug.top</a>
 * @description 通用常量
 */
public class CommonConstants {
    /**
     * 是否-否
     */
    public static final String NO = "0";
    /**
     * 是否-是
     */
    public static final String YES = "1";


    /**
     * 禁用状态
     */
    public static final String STATUS_DISABLE = "0";
    /**
     * 启用状态
     */
    public static final String STATUS_ENABLE = "1";


    /**
     * http前缀
     */
    public static final String HTTP_PREFIX = "http://";

    /**
     * https前缀
     */
    public static final String HTTPS_PREFIX = "https://";


    /**
     * 默认排序值
     */
    public static final Integer DEFAULT_ORDER_NUM = 5;

    /**
     * 排序方式-升序
     */
    public static final String SORT_ORDER_ASC = "ascend";
    /**
     * 排序方式-降序
     */
    public static final String SORT_ORDER_DESC = "descend";


    /**
     * 默认分类id
     */
    public static final String DEFAULT_CATEGORY_ID = "1";
}